/**
 * @param {number[]} arr1
 * @param {number[]} arr2
 * @return {number}
 */
var makeArrayIncreasing = function (arr1, arr2) {
    let count =0
    arr2.sort((a,b)=>a-b)
    for(let i=1;i<arr1.length;i++){
      if(arr1[i-1]<arr1[i]){
        findMax(arr[i-1])
      }
    }


};